package org.freedoit.server.om;

// Generated Oct 11, 2012 3:54:05 PM by Hibernate Tools 3.4.0.CR1

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class User implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -206466897831077272L;
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long userId;
	@Persistent
	private String userName;
	@Persistent
	private String userKey;
	@Persistent
	private Date createDate;
	@Persistent
	private Integer status;

	public User() {
	}

	public User(String userName, String userKey, Date createDate, Integer status) {
		this.userName = userName;
		this.userKey = userKey;
		this.createDate = createDate;
		this.status = status;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserKey() {
		return this.userKey;
	}

	public void setUserKey(String userKey) {
		this.userKey = userKey;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
